package nd.android.am.bean;

public class AccountBean {
	public static final int STATUS_NORMAL = 0;
	public static final int STATUS_SETTLED = 1;
	public static final int STATUS_DISCADE = 2;
	public static final int STATUS_QUERY = 3;

	private long id;
	private String occurDate;
	private String purpose;
	private double amount;
	private String payer;
	private String users;
	private long updateDate;
	private String desc;
	private int status;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getOccurDate() {
		return occurDate;
	}
	public void setOccurDate(String occurDate) {
		this.occurDate = occurDate;
	}
	public String getPurpose() {
		return purpose;
	}
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public String getPayer() {
		return payer;
	}
	public void setPayer(String payer) {
		this.payer = payer;
	}
	public String getUsers() {
		return users;
	}
	public void setUsers(String users) {
		this.users = users;
	}
	public long getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(long updateDate) {
		this.updateDate = updateDate;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	public AccountBean clone(){
		AccountBean a = new AccountBean();
		a.amount = amount;
		a.desc = desc;
		a.id = id;
		a.occurDate = occurDate;
		a.payer = payer;
		a.purpose = purpose;
		a.status = status;
		a.updateDate = a.updateDate;
		a.users = users;
		return a;
	}
}
